﻿@{
    Layout = "~/Views/Shared/Main.cshtml";
}

@section  PageStyleFile{
    <link rel="stylesheet" type="text/css" href="~/assets/global/plugins/select2/select2.css"/>
    <link rel="stylesheet" type="text/css" href="~/assets/admin/pages/css/inbox.css"/>
}

@section PageScriptFile{
    <script type="text/javascript" charset="utf-8" src="~/assets/global/plugins/ueditor/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="~/assets/global/plugins/ueditor/ueditor.all.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="~/assets/global/plugins/ueditor/lang/zh-cn/zh-cn.js"></script>
    <script type="text/javascript" charset="utf-8" src="~/assets/global/plugins/base64.min.js"></script>
    <script type="text/javascript" src="~/assets/global/plugins/select2/select2.min.js"></script>
    <script type="text/javascript" src="~/assets/admin/pages/scripts/mail.js"></script>
}

<div class="col-md-12">
	<div class="portlet light">
		<div class="portlet-body">
			<div class="row inbox">
				<div class="col-md-2">
					<ul id="mailMenu" class="inbox-nav margin-bottom-10">
						<li class="compose-btn">
							<a id="btnNewBox" href="~/Mail/Editor" class="btn green" data-title="新建邮件">
							<i class="fa fa-edit"></i> 新建邮件 </a>
						</li>
						<li class="inbox">
							<a id="btnInbox" href="~/Mail/" class="btn" data-title="收件箱">
							收件箱 (<label id="labelInboxCount">@ViewBag.InBoxMailCount</label>) </a>
							<b></b>
						</li>
						<li class="sent">
							<a id="btnSendBox" class="btn" href="~/Mail/" data-title="发件箱">
							发件箱 </a>
							<b></b>
						</li>
						<li class="draft">
							<a id="btnDraftBox" class="btn" href="~/Mail/" data-title="草稿箱">
							草稿箱 </a>
							<b></b>
						</li>
						<li class="trash">
							<a id="btnTrashBox" class="btn" href="~/Mail/" data-title="垃圾箱">
							垃圾箱 </a>
							<b></b>
						</li>
					</ul>
				</div>
				<div class="col-md-10">
					<div class="inbox-header">
						<h1 id="mailbox_title" class="pull-left">收件箱</h1>
					</div>
					<div id="mailbox_loading" class="inbox-loading">
							Loading...
					</div>
					<div id="mailContent" class="inbox-content"></div>
				</div>
			</div>
		</div>
	</div>
</div>